// 数组切割
export const split = (arr, n) => {
    let arr2 = []
    let fn = (arr) => {
        arr2.push(arr.slice(0, n))
        if (arr.length > n) {
            fn(arr.slice(n))
        }
    }
    fn(arr, n)
    return arr2
}